package com.example.demo.utils;

import lombok.Data;

/**
 * @author LF
 * @date 2021/4/20 - 15:06
 */
@Data
public class ResultCode {
    private int code;
    private String msg;
    private Object data;

    public ResultCode(int code, String msg, Object data) {
        this.code = code;
        this.msg = msg;
        this.data = data;
    }
    public ResultCode(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }

}
